﻿using Transformable_Engine_v2.Engine.GameObjects.Containers;
using Transformable_Engine_v2.Engine.Helper;
using Transformable_Engine_v2.Engine.Transformable_Math.Geometry;

namespace Super_Management_Mayhem.Screens.Playing.Particle.Explosion
{
    public class BombOutline : Container
    {
        private const int SMOKE_OUTLINE_COUNT = 40;

        public BombOutline()
        {
            for (int i = 0; i < SMOKE_OUTLINE_COUNT; i++)
            {
                AddChildren(new BombOutlineSmoke(new TE_Vector2((1.0 / SMOKE_OUTLINE_COUNT * i + Randomizer.Double(0, 0.15)).TimesTwoPi(), 4)));
            }
        }
    }
}